var express = require('express');
var employmentController = require('../controllers/employmentController');
var router = express.Router();

router.post('/adminapi/employments', employmentController.addList);

router.get('/adminapi/employments', employmentController.getList);

router.put('/adminapi/employments/:id', employmentController.update);

router.delete('/adminapi/employments', employmentController.delete);

module.exports = router;